<template>
  <div>
    <el-row>
      <el-col :span="12"><div class="grid-content bg-purple">{{props.leftContent}}</div></el-col>
      <el-col :span="12"><div class="grid-content bg-purple">{{props.rightContent}}</div></el-col>
    </el-row>
  </div>
</template>

<script>
// import { ref } from 'vue';

export default {
  props: ['leftContent', 'rightContent'],
  setup(props) {
    console.log(props);
    return {
      props,
    };
  },
};
</script>

<style lang="scss">
.el-row {
  margin-bottom: 20px;
  &:last-child {
    margin-bottom: 0;
  }
  .el-col {
    padding: 0 5px;
  }
}
.bg-purple-dark {
  background: #d0d1d3;
}
.bg-purple {
  background: #ececec;
}
.grid-content {
  border-radius: 4px;
  min-height: 36px;
}
.row-bg {
  padding: 10px 0;
  background-color: #f9fafc;
}
</style>
